xen/arm: bugs: Move do_bug_frame to traps.h
authorJulien Grall <julien.grall@arm.com>
Wed, 31 Oct 2018 18:12:56 +0000 (18:12 +0000)
committerStefano Stabellini <sstabellini@kernel.org>
Fri, 9 Nov 2018 18:14:18 +0000 (10:14 -0800)
commit05a8c91fd12cb29a5ad185d8b625fd017c1a6121
tree6e374497d936a7354c9b52347d87e08d99ff7598
parent6ff351daafe8ae5ad8662766e87d11f54850bee3
xen/arm: bugs: Move do_bug_frame to traps.h

do_bug_frame is only necessary when trapping. This allows to remove
processor.h include.

However, time.h was missing an include resulting to compilation error if
processor.h is removed from bug.h.

Signed-off-by: Julien Grall <julien.grall@arm.com>
Reviewed-by: Andrii Anisov <andrii_anisov@epam.com>
Acked-by: Stefano Stabellini <sstabellini@kernel.org>
xen/arch/arm/arm32/traps.c
xen/include/asm-arm/bug.h
xen/include/asm-arm/time.h
xen/include/asm-arm/traps.h